﻿#ifndef POSTCOMMAND_CMDSURFACEELECTRICFIELDMAPSIDEBARUPDATEPROCESSDATA_H
#define POSTCOMMAND_CMDSURFACEELECTRICFIELDMAPSIDEBARUPDATEPROCESSDATA_H

#include <QList>
#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理-表面分布图-处理数据命令
    class CmdSurfaceElectricFieldMapSidebarUpdateProcessData : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdSurfaceElectricFieldMapSidebarUpdateProcessData();
        ~CmdSurfaceElectricFieldMapSidebarUpdateProcessData();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setSurfaceElectricFieldMapSidebarUpdateProcessData(int windowId, bool isLog, bool isNormalize);

    private:
        int m_windowId;
        bool m_isLog;
        bool m_isNormalize;
    };
} // namespace PostCommand

#endif
